package org.dromara.tearoom.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 充值规则对象 ter_recharge_rules
 *
 * @author xch
 * @date 2025-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ter_recharge_rules")
public class TerRechargeRules extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 最小金额
     */
    private Integer minAmount;

    /**
     * 最大金额
     */
    private Integer maxAmount;

    /**
     * 优惠类型
     */
    private Integer rewardType;

    /**
     * 转换金额
     */
    private Integer rewardValue;

    /**
     * 生效开始时间
     */
    private Date startTime;

    /**
     * 生效结束时间
     */
    private Date endTime;

    /**
     * 删除标识
     */
    @TableLogic
    private String delFlag;


}
